<?php

defined( '_JEXEC' ) or die( 'Access to this location is RESTRICTED.' );

$app = JFactory::getApplication();
$leftbar = 1;
$rightbar = 1;

?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >

<?php require("head_includes.php"); ?>

<body>
<div id="container">
<div class="wrapper">
  <div id="header">
    <?php
       if ($this->params->get('logoType') == 'image') { ?>
       <h1>
          <a href="index.php" title="<?php echo $app->getCfg('sitename'); ?>">
          <span><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo.gif" border="0" alt="Logo"></img></span></a>
       </h1>
       <?php } else { ?>
       <div>
          <h1><a href="index.php" title="<?php echo $this->params->get('logoText'); ?>"><span><?php echo $this->params->get('logoText'); ?></span></a></h1>
          <p><?php echo $this->params->get('sloganText');?></p>
       </div>
    <?php } ?>
    <jdoc:include type="modules" name="top" style="arhsxhtml" /> 
  </div>
  
  <div id="sidebar_left" class="float">
    <jdoc:include type="modules" name="left" style="arhsxhtml" />
  </div>  
  
  <div id="content" class="float">
    <jdoc:include type="component" />
  </div>  
    
  <div id="sidebar_right" class="float">
    <jdoc:include type="modules" name="right" style="arhsxhtml" />
  </div>   
    
  <div id="footer" class="clear">
    <jdoc:include type="modules" name="footer" style="arhsxhtml" />
  </div>
</div>     
</div> 
</body>  
</html>